package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.

import (
	"context"
	"fmt"

	"mall/service/wpgql/api/internal/graph/generated"
	"mall/service/wpgql/api/internal/graph/model"
)

func (r *categoryResolver) Ancestors(ctx context.Context, obj *model.Category, first *int, last *int, after *string, before *string) (*model.CategoryToAncestorsCategoryConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *categoryResolver) Children(ctx context.Context, obj *model.Category, first *int, last *int, after *string, before *string, where *model.CategoryToCategoryConnectionWhereArgs) (*model.CategoryToCategoryConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *categoryResolver) ContentNodes(ctx context.Context, obj *model.Category, first *int, last *int, after *string, before *string, where *model.CategoryToContentNodeConnectionWhereArgs) (*model.CategoryToContentNodeConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *categoryResolver) EnqueuedScripts(ctx context.Context, obj *model.Category, first *int, last *int, after *string, before *string) (*model.TermNodeToEnqueuedScriptConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *categoryResolver) EnqueuedStylesheets(ctx context.Context, obj *model.Category, first *int, last *int, after *string, before *string) (*model.TermNodeToEnqueuedStylesheetConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *categoryResolver) Posts(ctx context.Context, obj *model.Category, first *int, last *int, after *string, before *string, where *model.CategoryToPostConnectionWhereArgs) (*model.CategoryToPostConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) CreateCategory(ctx context.Context, input model.CreateCategoryInput) (*model.CreateCategoryPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) DeleteCategory(ctx context.Context, input model.DeleteCategoryInput) (*model.DeleteCategoryPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) UpdateCategory(ctx context.Context, input model.UpdateCategoryInput) (*model.UpdateCategoryPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) Categories(ctx context.Context, first *int, last *int, after *string, before *string, where *model.RootQueryToCategoryConnectionWhereArgs) (*model.RootQueryToCategoryConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) Category(ctx context.Context, id string, idType *model.CategoryIDType) (*model.Category, error) {
	panic(fmt.Errorf("not implemented"))
}

// Category returns generated.CategoryResolver implementation.
func (r *Resolver) Category() generated.CategoryResolver { return &categoryResolver{r} }

type categoryResolver struct{ *Resolver }
